/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author pipo
 */

package mainGame;

//Map element is general class for the static map objects that will not change and stay same.
public class MapElement {
    
    protected int CoorX, CoorY;
    protected int type; //0 for way, 1 for water, 2 for obstacle (you die if you fall into the water)
    
    public MapElement(int X, int Y, int type)
    {
        this.CoorX = X;
        this.CoorY = Y;
        this.type = type;

        
    }
    
    
    public int getType()
    {
        
        return this.type;
    }
    
    public int getXCoor()
    {
        
        return this.CoorX;
    }
    
    public int getYCoor()
    {
        return this.CoorY;
    }
    
}
